<template>
	<view class="index u-flex">
		<view class="info u-flex">
			<view class="item u-flex-col u-col-center">
				<u-icon name="chat"></u-icon>
				<text>联系卖家</text>
			</view>
			<view class="item u-flex-col u-col-center">
				<u-icon name="shopping-cart"></u-icon>
				<text>店铺</text>
			</view>
			<view class="item u-flex-col u-col-center">
				<u-icon name="star"></u-icon>
				<text>收藏</text>
			</view>
		</view>
		<view class="buttons u-flex">
			<u-button class="button cart" :hair-line="false">加入购物车</u-button>
			<u-button class="button confirm" :hair-line="false">立即购买</u-button>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default: {}
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.index{
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: $uni-bg-color;
		height: 110upx;
		.info{
			width: 360upx;
			padding-left: 24upx;
			.item{
				font-size: 40upx;
				width: 120upx;
				color: $uni-text-color-grey;
				text{
					font-size: 24upx;
				}
			}
		}
		.buttons{
			.button{
				width: 180upx;
				height: 72upx;
				border: none;
				font-size: 26upx;
				color: $uni-bg-color;
				font-weight: bold;
			}
			.cart{
				background-color: #FFC046;
				border-bottom-right-radius: 0upx;
				border-top-right-radius: 0upx;
				border-top-left-radius: 72upx;
				border-bottom-left-radius: 72upx;
			}
			.confirm{
				background-color: #FF8346;
				border-bottom-right-radius: 72upx;
				border-top-right-radius: 72upx;
				border-top-left-radius: 0upx;
				border-bottom-left-radius: 0upx;
			}
		}
	}
</style>
